/*function hiddenMenu(obj,style){
	
	obj.parentNode.childNodes[2].style.display=style;
	if(style=="none"){
		obj.onclick=function(){hiddenMenu(this,'block')}
		obj.parentNode.childNodes[0].src="images_help/close.gif";
	}else{
		obj.onclick=function(){hiddenMenu(this,'none')}
		obj.parentNode.childNodes[0].src="images_help/open.gif";
	}
}*/


/*var id = node[i].getElementsByTagName("xxx")[0].firstChild.nodeValue; 
var schoolname = node[i].getElementsByTagName("xxx")[1].firstChild.nodeValue;*/

function getNextSibling(startBrother){
	endBrother=startBrother.nextSibling;
	while(endBrother.nodeType!=1){
		endBrother = endBrother.nextSibling;
	}return endBrother;
}

function getNextSibling1(obj){
	if(obj.nextSibling.nodeType==3) {
		sibling=obj.nextSibling.nextSibling; // Moz. Opera
	}
	else {
		sibling=obj.nextSibling; // IE
	}
	return sibling;
}



function hiddenMenu(obj,style){

	getNextSibling1(obj).style.display=style;;
	if(style=="none"){
		obj.onclick=function(){hiddenMenu(this,'block')}
		obj.className="close";
	}else{
		obj.onclick=function(){hiddenMenu(this,'none')}
		obj.className="open";
	}
}


function hiddentree(){
	var obj=document.getElementById("tdForMenuModule");
	var hand=document.getElementById("hand");
	if (obj.style.display=="none"){
		obj.style.display="";
		hand.src="../../../images/new/main/main/help1/VPullback.gif";
	}else{
		obj.style.display="none";
		hand.src="../../../images/new/main/main/help1/VUndraw.gif";
	}
}